package com.mylove.judas.yaya.retrofit;

import com.mylove.judas.yaya.entity.BaseEntity;
import com.mylove.judas.yaya.entity.ImageEntity;
import com.mylove.judas.yaya.entity.base.ObjectResponse;

import java.util.List;
import java.util.Map;

import io.reactivex.Observable;
import retrofit2.http.GET;
import retrofit2.http.QueryMap;

/**
 * Created by Judas on 2018/4/25.
 */

public interface YaYaService {

    public static final String base_api = "https://www.apiopen.top/";

    //获取列表
    @GET("satinGodApi")
    Observable<ObjectResponse<List<BaseEntity>>> getAll(@QueryMap Map<String, Object> map);

    //获取美图列表
    @GET("meituApi")
    Observable<ObjectResponse<List<ImageEntity>>> getImageAll(@QueryMap Map<String, Object> map);


}
